@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  // font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}


.el-menu-item,
.el-submenu__title {
    font-size: 16px !important;
}

label {
    font-weight: normal !important;
}

.el-link.el-link--info,
.el-link.el-link--info:hover {
    color: #333;
}

.selectInfoStation .el-input.is-disabled .el-input__inner {
    background-color: #ffffff;
    color: #606266;
}

.el-input el-input--small el-input--suffix {
    border-radius: 1px;
}

.el-form-item--medium {
    .el-form-item__label,
    .el-form-item__content {
        line-height: 32px;
    }
}

.el-button--danger.is-disabled,
.el-button--danger.is-disabled:hover,
.el-button--danger.is-disabled:focus,
.el-button--danger.is-disabled:active {
    background-color: #dc6068;
    border-color: #dc6068;
}

.el-button+.el-button {
    margin-left: 2px;
}

.el-form--inline .el-form-item.mr_10 {
    margin-right: 10px !important;

}

.el-tooltip__popper, .el-tooltip__popper.is-dark {
  
    width: 460px;
    line-height:25px;
    background-color: #e6f6fd !important;
    color: #606266 !important;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    font-size: 12px;
    text-indent: 10px;
    border-radius: 10px;
    text-align: left;
}
.svg-icon{
   margin-right: 15px;
}
// .el-popper {
//   border-bottom-color: #1EBEF4 !important;
//   left: 50% !important;
//   visibility: hidden;
// }

  .vue-treeselect{
        height: 32px !important;
        line-height: 32px;
        .vue-treeselect__control{
            height: 32px !important;
            line-height: 32px;
            display: block !important;
            .vue-treeselect__value-container{
               height: 32px !important;
            line-height: 32px;
            }
          }
    }

.el-date-editor{
    height: 32px !important;
    line-height: 32px;

}


// 添加编辑弹窗样式
// .addEditDialog {
.el-dialog {
    .el-dialog__header {
        padding: 15px 20px !important;
        border-bottom: 1px solid #e6e6e6;
        .el-dialog__title {
            color: $menuActiveText;
            font-size: 20px;
        }
        .el-dialog__headerbtn {
            top: 14px;
            font-size: 22px;
        }
    }
    .el-dialog__body {
        padding: 22px 20px;
        padding-bottom: 0;
        border-bottom: 1px solid #e6e6e6;
    }
    .el-dialog__footer {
        padding-top: 20px;
    }
    .dialog-footer{
      .el-button{
        margin-right: 6px;
      }
    }
}


/** 提示弹窗标题样式*/

.el-message-box {
    .el-message-box__header {
        padding: 10px 15px !important;
        border-bottom: 1px solid #e6e6e6;
        .el-message-box__title {
            color: $menuActiveText;
            font-size: 20px;
        }
        .el-message-box__headerbtn {
            top: 7px;
            font-size: 22px;
        }
    }
}

.addEditDialog.needPBDialog {
    .el-dialog__body {
        padding-bottom: 22px;
    }
}

.detailBox {
    margin: 10px;
    padding: 2.9vh 2.1vw;
    .el-row {
        line-height: 40px;
        color: #333;
        .list-title {
            font-weight: bold;
            color: #000;
        }
    }
}

//操作列删除文本按钮颜色
.delBtn_R {
    color: #cf2934;
}

.editBtn_R {
    color: #ffba00;
}

.addkaohe {
    color: #36A99E;
}

.linelearn {
    color: #2499F7;
}
.operite{
  color: #2A82E4;
}

.lookBtn {
    color: #000000;
}

.delBtn_R:hover,
.delBtn_R:focus {
    color: #D9545D;
}

.searchReset{
  button{
    margin-right: 6px;
  }
}
.pr_45 input {
    padding-right: 45px !important;
}

.el-image-viewer__btn.el-image-viewer__close {
    color: #fff;
}

.el-button--mini{
  font-size: 14px;
}
/**动态设置表格表头固定样式 */

.eleTab {
  .el-table__header-wrapper {
      position: fixed;
      z-index: 9;
      top: 115px;
      right: 221px;
      padding-left: 440px;
  }
  .el-table__fixed-header-wrapper .fixed-width {
      position: fixed;
      width: 200px  !important;
      top: 115px;
      height: 46px;
      right: 21px;

  }
  .el-table__body-wrapper {
      margin-top: 50px !important;
  }
  .el-table__fixed-body-wrapper {
      z-index: 2;
      top: 50px !important;
  }
  .el-table__fixed-right {
      // z-index: 10;
  }
}

.hideSidebar {
  .eleTab {
      .el-table__header-wrapper {
          padding-left: 249px !important;
      }
  }
}

.el-table .el-table__header-wrapper th,
.el-table .el-table__fixed-header-wrapper th {
    background-color: #f1f1f1 !important;
    color: #606266 !important;
}

// .el-table .fixed-width .el-button--mini {
//   color: #cf2934 !important;
// }
element.style {
    width: 178px;
}

.el-table .cell.el-tooltip {
    white-space: nowrap;
    min-width: 50px;
}

.el-table .cell {
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-all;
    line-height: 23px;
    padding-left: 10px;
    padding-right: 10px;
}

.el-button--primary {
    border-radius: 3px;
}

.el-textarea__inner {
  min-height: 36px !important;
  padding-right: 55px !important;
}
 .el-textarea .el-input__count {
  position: absolute;
  bottom: -4px !important;
  right: 6px !important;
  background: rgba(255, 255, 255, 0.1);
}
